package cn.pzhu.java.ch03.encapsulation;

public class TestMain {

	public static void main(String[] args) {
		BankAccount act=new BankAccount();
		act.no="001";
		act.password="123";
		act.balance=0;
		
		String inputPassword="123";
		if(inputPassword==act.password){
			System.out.println(act.balance);
		}else{
			System.out.println("password erro");
		}
		
		///&&$*(&)
		System.out.println(act.balance);
		act.balance+=30000;
		act.log("sdflkdsjflsdlfjsdlfldsfjl...");
		act.password="250101";
	}

}
